<include file="Index/header" />
<body class="body">
	<div class="invited_list" style="padding-bottom: 0px;" id='list_content'>
    	<ul class="nav_text">
        	<p align="center">你共邀请了<span class="red" id="count_show"></span>位校友，<span class="green" id="renzheng"></span>位已通过认证</p>
            <!-- <p align="center">影响力<span>{$effict}</span></p> -->
        </ul>
        
        <div id = "list_0">
        	<!-- 列表 -->
        </div>
        
        <input type="hidden" value="0" id="list_last_id">
        <input type="hidden" value="0" id="row_number">
    </div>
    <div class="invite_lots">
	   	<a htef="#" onclick="invitedList();return false;"><p id="more">点击加载更多></p></a><!-- more -->
	</div>
    <include file="Index/down" />
</body>
</html>
<script>
	$(function($) {
		$("#more").hide();
		invitedList();
	});
	function invitedList(){
		var user_id = '{$Think.get.user_id}';
		var community_id = '{$Think.get.community_id}';
		var list_last_id = $("#list_last_id").val();
//console.log(list_last_id);
		$("#list_"+list_last_id).load("/Index/ajaxInvitedList?user_id="+user_id+"&community_id="+community_id+"&list_last_id="+list_last_id+"&random="+Math.random(),{},function(){
			list_last_id = $("#list_last_id").val();
			$("#list_content").append('<div id = "list_'+list_last_id+'"></div>');
		});
		
		//$("#list").append(html);
	}
</script>
